<template>
  <div class="work">
    <div class="competitor">
      <img src="../../assets/img/jisoo2.png">
      <div class="name-time">
        <p class="name">看窗外日落</p>
        <p class="time">2020年12月17日  19:30</p>
      </div>
    </div>
    <div class="work-pic">
      <img src="../../assets/img/12.jpg">
      <div class="work-icon">
        <i class="el-icon-medal">107</i>
        <i class="el-icon-chat-line-round">89</i>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "online-com-work-card"
    }
</script>

<style scoped>
  .work{
    width: 380px;
    height: 500px;
    border-radius: 10px;
    border: #F2F2F2 solid;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .competitor{
    width: 380px;
    height: 80px;
  }
  .competitor img{
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-top: 10px;
    margin-left: 20px;
  }
  .name-time{
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
    margin-top: 20px;
  }
  .name{
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #555555;
  }
  .time{
    margin-top: 0px;
    font-size: 12px;
    color: #d7d7d7;
  }
  .work-pic img{
    width: 380px;
    height: 370px;
  }
  .work-icon{
    flex: 1;
    width: 180px;
    float: right;
    margin-top: 10px;

  }
  .work-icon i{
    margin-left: 10px;
    font-size: 25px;
    color: #7f7f7f;
  }
</style>
